Expand description

Core types and traits for the Rust Azure SDK.

This crate is part of the unofficial Azure SDK effort in Rust. For more information on the project, and an overview of other crates, please refer to our GitHub repository.

Re-exports

pub use sleep::sleep;

Modules

Azure authentication and authorization.

https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Type

Azure HTTP headers.

Parser helper utilities.

The Azure Core prelude.

Endpoints for Azure Resource Manager in different Azure clouds

An assortment of helper utilities.

Macros

The following macro invocation:

Return early with an error if a condition is not satisfied.

Return early with an error if two expressions are not equal to each other.

Return early with an error if two expressions are equal to each other.

A convenient way to create a new error using the normal formatting infrastructure

Creates setter methods

Structs

Convenience struct that maps a bytes::Bytes buffer into a stream.

Client options allow customization of policies, retry options, and more.

Pipeline execution context.

Retry policy with exponential back-off.

Retry policy with fixed back-off.

Retry policy that does not retry.

A pageable stream that yields items of type T

Execution pipeline.

A pipeline request.

An HTTP Response.

Specify how retries should behave.

Telemetry options.

Transport options.

Enums

An HTTP Body.

The algorithm to apply when calculating the delay between retry attempts.

Constants

An empty HTTP body.

Traits

Add a new query pair into the target URL’s query string.

A type that can yield an optional continuation token

View a type as an HTTP header.

An HTTP client which can send requests.

A pipeline policy.

Enable a type implementing AsyncRead to be consumed as if it were a Stream of Bytes.

Functions

Convenience function that transforms a PinnedStream in a bytes::Bytes struct by collecting all the chunks. It consumes the response stream.

Construct a new HttpClient with the reqwest backend.

Serialize a type to json.

Type Definitions

A specialized Result type for policies.

A unique identifier for a request.

A unique session token.